package com.ruoyi.robot.mapper;

import com.ruoyi.robot.pojo.po.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yid
 * @since 2023-01-16
 */
@Repository
public interface CustomerMapper extends BaseMapper<Customer> {

    /**
     * 查询用户表列表
     *
     * @param customer 用户表
     * @return 用户表集合
     */
    public List<Customer> selectCustomerList(Customer customer);



    /**
     * 批量删除用户表
     *
     * @param customerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerByCustomerIds(Long[] customerIds);

}
